<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>css/template.css">
<h2>Order Item Details</h2>
<?php 
		echo "<p>" . anchor('order_list','Back') . "</p>";

		echo "<table>";
		echo "<tr><th>Id</th><th>Order_Id</th><th>Product_Id</th><th>Quantity</th></tr>";
		
		foreach ($orderitem as $order) {
			echo "<tr>";
			echo "<td>" . $order->id . "</td>";
			echo "<td>" . $order->order_id . "</td>";
			echo "<td>" . $order->product_id . "</td>";
			echo "<td>" . $order->quantity . "</td>";
			echo "</tr>";
		}
		echo "<table>";
?>
